<?
$id = $this->id;
?>

<? if (isset($id)): ?>
    <a href="/pages/delete/id/<?= $id ?>" class="delete">Delete</a>
<? endif; ?>
<?= $this->form ?>